Skip to contentSkip to conversation

Fix buildsystem to detect udev > version 124

PATCH Boris Derzhavets 3 participants 13 messages Jun 27, 2009 – Oct 20, 2009

lore
Share & tools
lore
#0 lore raw

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]> wrote:

From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>
Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
To: "Boris Derzhavets" <[email protected]>
Cc: "Xen-devel" <[email protected]>, "Keir Fraser" <[email protected]>
Date: Friday, June 26, 2009, 5:12 AM

Could go into 3.4 and unstable IMO.

On 3.3 there is no tools/hotplug/Linux/Makefile so it must be altered there to use tools/examples/Makefile for the first chunk and should work fine there.

Marc

Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:

Quoted 38 lines

Where this patch is supposed to go either xen-unstable.hg or xen-3.4-testing.hg (both) ?
Systems affected Ubuntu 9.04 (now) , F12 (pretty soon).

Boris

--- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]> wrote:

         From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>
         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
         To: "Xen-devel" <[email protected]>
         Cc: "Daniel Schroeder" <[email protected]>, "Keir Fraser" <[email protected]>
         Date: Wednesday, June 24, 2009, 12:26 PM

         udev removed the udevinfo symlink from versions higher than 123 and xens
         build-system could not detect if udev is in place and has the required
         version. Attached patch fixes this.





         -----Inline Attachment Follows-----

         _______________________________________________
         Xen-devel mailing list
         [email protected]
         http://lists.xensource.com/xen-devel

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes the detection of udev during buildtime only), can you please change the subject line to something more appropriate and give some additional details about the problem?

Marc

Quoted 97 lines · Boris Derzhavets

By some reasons i have to run on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] /<[email protected]>/* wrote:

    From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
    <[email protected]>
    Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
    version 124
    To: "Boris Derzhavets" <[email protected]>
    Cc: "Xen-devel" <[email protected]>, "Keir Fraser"
    <[email protected]>
    Date: Friday, June 26, 2009, 5:12 AM

    Could go into 3.4 and unstable IMO.

    On 3.3 there is no tools/hotplug/Linux/Makefile so it must be altered
    there to use tools/examples/Makefile for the first chunk and
    should work
    fine there.


    Marc

    Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:
    > Where this patch is supposed to go either xen-unstable.hg or
    > xen-3.4-testing.hg (both) ?
    > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon).
    >
    > Boris
    >
    > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration |
    Westermann
    > GmbH ] <[email protected] </mc/[email protected]>> wrote:
    >         
    >         From: Marc - A. Dahlhaus [ Administration | Westermann
    GmbH ]
    >         <[email protected] </mc/[email protected]>>
    >         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect
    udev >
    >         version 124
    >         To: "Xen-devel" <[email protected]
    </mc/[email protected]>>
    >         Cc: "Daniel Schroeder" <[email protected]
    </mc/[email protected]>>, "Keir Fraser"
    >         <[email protected]
    </mc/[email protected]>>
    >         Date: Wednesday, June 24, 2009, 12:26 PM
    >         
    >         udev removed the udevinfo symlink from versions higher than
    >         123 and xens
    >         build-system could not detect if udev is in place and
    has the
    >         required
    >         version. Attached patch fixes this.
    >         
    >         
    >         Signed-off-by: Marc-A. Dahlhaus <[email protected]
    </mc/[email protected]>>
    >         
    >         
    >         
    >         
    >         -----Inline Attachment Follows-----
    >         
    >         _______________________________________________
    >         Xen-devel mailing list
    >         [email protected]
    </mc/[email protected]>
    >         http://lists.xensource.com/xen-devel
    >         
    >
    > _______________________________________________
    > Xen-devel mailing list
    > [email protected]
    </mc/[email protected]>
    > http://lists.xensource.com/xen-devel


    _______________________________________________
    Xen-devel mailing list
    [email protected]
    </mc/[email protected]>
    http://lists.xensource.com/xen-devel

------------------------------------------------------------------------

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

I see that these patches made it to xen-unstable, but I still see the "Hotplug Scripts not working ..." error on my jaunty dom0 machine.

I am trying to run a simple para-VM. xend starts fine (had to build tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

-dulloor

Quoted 110 lines · Marc - A. Dahlhaus

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes the detection of udev during buildtime only),
can you please change the subject line to something more appropriate and give some additional details about the problem?

Marc

Quoted 86 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] /<[email protected]>/* wrote:

   From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>
   Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
   To: "Boris Derzhavets" <[email protected]>
   Cc: "Xen-devel" <[email protected]>, "Keir Fraser" <[email protected]>
   Date: Friday, June 26, 2009, 5:12 AM

   Could go into 3.4 and unstable IMO.

   On 3.3 there is no tools/hotplug/Linux/Makefile so it must be altered there to use tools/examples/Makefile for the first chunk and should work
   fine there.

   Marc

   Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:
   > Where this patch is supposed to go either xen-unstable.hg or > xen-3.4-testing.hg (both) ?
   > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon). >
   > Boris
   >
   > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration | Westermann
   > GmbH ] <[email protected] </mc/[email protected]>> wrote:
   >            >         From: Marc - A. Dahlhaus [ Administration | Westermann
   GmbH ]
   >         <[email protected] </mc/[email protected]>>
   >         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
   >         version 124
   >         To: "Xen-devel" <[email protected] </mc/[email protected]>>
   >         Cc: "Daniel Schroeder" <[email protected] </mc/[email protected]>>, "Keir Fraser"
   >         <[email protected] </mc/[email protected]>>
   >         Date: Wednesday, June 24, 2009, 12:26 PM
   >            >         udev removed the udevinfo symlink from versions higher than
   >         123 and xens
   >         build-system could not detect if udev is in place and has the
   >         required
   >         version. Attached patch fixes this.
   >            >            >         Signed-off-by: Marc-A. Dahlhaus <[email protected]
   </mc/[email protected]>>
   >            >            >            >            > -----Inline Attachment Follows-----
   >            >         _______________________________________________ >         Xen-devel mailing list
   >         [email protected] </mc/[email protected]>
   >         http://lists.xensource.com/xen-devel
   >            >
   > _______________________________________________
   > Xen-devel mailing list
   > [email protected] </mc/[email protected]>
   > http://lists.xensource.com/xen-devel

   _______________________________________________
   Xen-devel mailing list
   [email protected]
   </mc/[email protected]>
   http://lists.xensource.com/xen-devel

Quoted 7 lines

------------------------------------------------------------------------

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

"Hotplug Scripts not working ..." error on jaunty

Hello,

Quoted 2 lines · Dulloor

I see that these patches made it to xen-unstable, but I still see the "Hotplug Scripts not working ..." error on my jaunty dom0 machine.

The patches only fixed the build-time and installation-time detection of
udev to work with version above of 124.

Have no jaunty based box around here to get some impressions of what goes wrong in this setup.

Could you check what udev version it has and if /etc/hotplug and/or /etc/udev contains xen related stuff?

As udev is in charge of hotplug events on jaunty a
"udevadm monitor" might get you some further details on what events are generated.

Quoted 5 lines

I am trying to run a simple para-VM. xend starts fine (had to build tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

Check what files get installed in /etc/udev and /etc/hotplug during installation. If you find anything xen related in /etc/hotplug remove it and check if that fixes your problem.

It would be interesting to know how you install xen...

Marc

Quoted 111 lines

-dulloor

Quoted 108 lines · Marc - A. Dahlhaus

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes the detection of udev during buildtime only),
can you please change the subject line to something more appropriate and give some additional details about the problem?

Marc

Quoted 85 lines · Boris Derzhavets

By some reasons i have to run on regular basis run ./xen-hotplug-cleanup on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] /<[email protected]>/* wrote:

From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>
Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
To: "Boris Derzhavets" <[email protected]>
Cc: "Xen-devel" <[email protected]>, "Keir Fraser" <[email protected]>
Date: Friday, June 26, 2009, 5:12 AM

Could go into 3.4 and unstable IMO.

On 3.3 there is no tools/hotplug/Linux/Makefile so it must be altered there to use tools/examples/Makefile for the first chunk and should work
fine there.

   Marc

   Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:
   > Where this patch is supposed to go either xen-unstable.hg or
   > xen-3.4-testing.hg (both) ?
   > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon).
   >
   > Boris
   >
   > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration |
   Westermann
   > GmbH ] <[email protected] </mc/[email protected]>> wrote:
   >            >         From: Marc - A. Dahlhaus [ Administration |

Westermann
GmbH ]

Quoted 2 lines

<[email protected] </mc/[email protected]>>
Subject: [Xen-devel] [PATCH] Fix buildsystem to detect

udev >

Quoted 2 lines

version 124
To: "Xen-devel" <[email protected]

</mc/[email protected]>>

Quoted 1 line
Cc "Daniel Schroeder" <[email protected]

</mc/[email protected]>>, "Keir Fraser"

Quoted 1 line

<[email protected]

</mc/[email protected]>>

Quoted 2 lines

Date: Wednesday, June 24, 2009, 12:26 PM
> udev removed the udevinfo symlink from versions

higher than

Quoted 2 lines

123 and xens
build-system could not detect if udev is in place and

has the

Quoted 3 lines

required
version. Attached patch fixes this.
> > Signed-off-by: Marc-A. Dahlhaus

<[email protected]
</mc/[email protected]>>

Quoted 1 line

> > > >

-----Inline Attachment Follows-----

Quoted 3 lines

> _______________________________________________
Xen-devel mailing list
[email protected]

</mc/[email protected]>

Quoted 5 lines
        http://lists.xensource.com/xen-devel
           >

_______________________________________________
Xen-devel mailing list
[email protected]

</mc/[email protected]>

Quoted 1 line

http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
</mc/[email protected]>
http://lists.xensource.com/xen-devel

Quoted 7 lines

------------------------------------------------------------------------

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

Re: "Hotplug Scripts not working ..." error on jaunty

- udev version is 141 (udevadm info -V)

- There is only a /etc/udev directory. It had two files : xend.rules and xen-backend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make install-tools PYTHON_PREFIX_ARG=""

- Following is the output from "udevadm monitor" :

KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (xen-backend)
KERNEL[1255816932.768878] add      /devices/vbd-22-2050 (xen-backend)
KERNEL[1255816932.786000] add      /devices/vbd-22-2051 (xen-backend)
KERNEL[1255816932.817227] add      /devices/vif-22-0 (xen-backend)
UDEV  [1255816932.818643] add      /devices/vif-22-0 (xen-backend)
KERNEL[1255816933.008654] add      /devices/console-22-0 (xen-backend)
UDEV  [1255816933.009916] add      /devices/console-22-0 (xen-backend)
UDEV  [1255816933.657785] add      /devices/vbd-22-2049 (xen-backend)
UDEV  [1255816934.707977] add      /devices/vbd-22-2050 (xen-backend)
UDEV  [1255816935.761811] add      /devices/vbd-22-2051 (xen-backend)
KERNEL[1255817033.248057] remove   /devices/console-22-0 (xen-backend)

------------- ****After the error****
UDEV [1255817033.334001] remove /devices/console-22-0 (xen-backend)

-dulloor

Quoted 151 lines · Marc - A. Dahlhaus

Hello,

Quoted 3 lines · Dulloor

I see that these patches made it to xen-unstable, but I still see the "Hotplug Scripts not working ..." error on my jaunty dom0 machine.

The patches only fixed the build-time and installation-time detection of udev to work with version above of 124.

Have no jaunty based box around here to get some impressions of what goes wrong in this setup.

Could you check what udev version it has and if /etc/hotplug and/or /etc/udev contains xen related stuff?

As udev is in charge of hotplug events on jaunty a
"udevadm monitor" might get you some further details on what events are generated.

Quoted 5 lines

I am trying to run a simple para-VM. xend starts fine (had to build tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

Check what files get installed in /etc/udev and /etc/hotplug during installation. If you find anything xen related in /etc/hotplug remove it and check if that fixes your problem.

It would be interesting to know how you install xen...

Marc

Quoted 115 lines

-dulloor

Quoted 112 lines · Marc - A. Dahlhaus

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes
the detection of udev during buildtime only),
can you please change the subject line to something more appropriate and give some additional details about the problem?

Marc

Quoted 87 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] /<[email protected]>/* wrote:

  From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>
  Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
  To: "Boris Derzhavets" <[email protected]>
  Cc: "Xen-devel" <[email protected]>, "Keir Fraser" <[email protected]>
  Date: Friday, June 26, 2009, 5:12 AM

  Could go into 3.4 and unstable IMO.

  On 3.3 there is no tools/hotplug/Linux/Makefile so it must be altered there to use tools/examples/Makefile for the first chunk and should work
  fine there.

  Marc

  Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:
  > Where this patch is supposed to go either xen-unstable.hg or > xen-3.4-testing.hg (both) ?
  > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon). >
  > Boris
  >
  > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration | Westermann
  > GmbH ] <[email protected] </mc/[email protected]>> wrote:
  >            >         From: Marc - A. Dahlhaus [ Administration | Westermann
  GmbH ]
  >         <[email protected] </mc/[email protected]>>
  >         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
  >         version 124
  >         To: "Xen-devel" <[email protected] </mc/[email protected]>>
  >         Cc: "Daniel Schroeder" <[email protected] </mc/[email protected]>>, "Keir Fraser"
  >         <[email protected] </mc/[email protected]>>
  >         Date: Wednesday, June 24, 2009, 12:26 PM
  >            >         udev removed the udevinfo symlink from versions higher than
  >         123 and xens
  >         build-system could not detect if udev is in place and has the
  >         required
  >         version. Attached patch fixes this.
  >            >            >         Signed-off-by: Marc-A. Dahlhaus <[email protected]
  </mc/[email protected]>>
  >            >            >            >            > -----Inline Attachment Follows-----
  >            >         _______________________________________________ >         Xen-devel mailing list
  >         [email protected] </mc/[email protected]>
  >         http://lists.xensource.com/xen-devel
  >            >
  > _______________________________________________
  > Xen-devel mailing list
  > [email protected] </mc/[email protected]>
  > http://lists.xensource.com/xen-devel

  _______________________________________________
  Xen-devel mailing list
  [email protected]
  </mc/[email protected]>
  http://lists.xensource.com/xen-devel

Quoted 7 lines

------------------------------------------------------------------------

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw

Re: Re: "Hotplug Scripts not working ..." error on jaunty

Quoted 7 lines
Quoted 6 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

It  was written on June 26, 2009 and was connected with some particular 9.04 instance.
Since then i did several Xen Host installs via official 3.4.1  tarball and via xen-unstable.hg  but, every time the most recent JF's pvops kernel had been built to support Dom0. Problem with hot-plug scripts was gone far away.
My question :-
What kernel is supporting your Dom0 ?

Boris.
P.S. Seems to me , that was kernel related problem in June.

--- On Sat, 10/17/09, Dulloor <[email protected]> wrote:

From: Dulloor <[email protected]>
Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Marc - A. Dahlhaus" <[email protected]>
Cc: "Xen-devel" <[email protected]>
Date: Saturday, October 17, 2009, 6:08 PM

- udev version is 141 (udevadm info -V)

- There is only a /etc/udev directory. It had two files : xend.rules and xen-backend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make install-tools PYTHON_PREFIX_ARG=""

- Following is the output from "udevadm monitor" :
KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (xen-backend) KERNEL[1255816932.768878] add      /devices/vbd-22-2050 (xen-backend) KERNEL[1255816932.786000] add      /devices/vbd-22-2051 (xen-backend) KERNEL[1255816932.817227] add      /devices/vif-22-0 (xen-backend) UDEV  [1255816932.818643] add      /devices/vif-22-0 (xen-backend) KERNEL[1255816933.008654] add      /devices/console-22-0 (xen-backend) UDEV  [1255816933.009916] add      /devices/console-22-0 (xen-backend) UDEV  [1255816933.657785] add      /devices/vbd-22-2049 (xen-backend) UDEV  [1255816934.707977] add      /devices/vbd-22-2050 (xen-backend) UDEV  [1255816935.761811] add      /devices/vbd-22-2051 (xen-backend) KERNEL[1255817033.248057] remove   /devices/console-22-0 (xen-backend) ------------- ****After the error****
UDEV  [1255817033.334001] remove   /devices/console-22-0 (xen-backend)

-dulloor

Quoted 26 lines · Marc - A. Dahlhaus

Hello,

Quoted 3 lines · Dulloor

I see that these patches made it to xen-unstable, but I still see the "Hotplug Scripts not working ..." error on my jaunty dom0 machine.

The patches only fixed the build-time and installation-time detection of udev to work with version above of 124.

Have no jaunty based box around here to get some impressions of what goes wrong in this setup.

Could you check what udev version it has and if /etc/hotplug and/or /etc/udev contains xen related stuff?

As udev is in charge of hotplug events on jaunty a
"udevadm monitor" might get you some further details on what events are generated.

Quoted 5 lines

I am trying to run a simple para-VM. xend starts fine (had to build tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

Quoted 125 lines

Check what files get installed in /etc/udev and /etc/hotplug during installation. If you find anything xen related in /etc/hotplug remove it and check if that fixes your problem.

It would be interesting to know how you install xen...

Marc

Quoted 115 lines

-dulloor

Quoted 112 lines · Marc - A. Dahlhaus

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes
the detection of udev during buildtime only),
can you please change the subject line to something more appropriate and give some additional details about the problem?

Marc

Quoted 87 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] /<[email protected]>/* wrote:

  From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>
  Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
  To: "Boris Derzhavets" <[email protected]>
  Cc: "Xen-devel" <[email protected]>, "Keir Fraser" <[email protected]>
  Date: Friday, June 26, 2009, 5:12 AM

  Could go into 3.4 and unstable IMO.

  On 3.3 there is no tools/hotplug/Linux/Makefile so it must be altered there to use tools/examples/Makefile for the first chunk and should work
  fine there.

  Marc

  Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:
  > Where this patch is supposed to go either xen-unstable.hg or > xen-3.4-testing.hg (both) ?
  > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon). >
  > Boris
  >
  > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration | Westermann
  > GmbH ] <[email protected] </mc/[email protected]>> wrote:
  >            >         From: Marc - A. Dahlhaus [ Administration | Westermann
  GmbH ]
  >         <[email protected] </mc/[email protected]>>
  >         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
  >         version 124
  >         To: "Xen-devel" <[email protected] </mc/[email protected]>>
  >         Cc: "Daniel Schroeder" <[email protected] </mc/[email protected]>>, "Keir Fraser"
  >         <[email protected] </mc/[email protected]>>
  >         Date: Wednesday, June 24, 2009, 12:26 PM
  >            >         udev removed the udevinfo symlink from versions higher than
  >         123 and xens
  >         build-system could not detect if udev is in place and has the
  >         required
  >         version. Attached patch fixes this.
  >            >            >         Signed-off-by: Marc-A. Dahlhaus <[email protected]
  </mc/[email protected]>>
  >            >            >            >            > -----Inline Attachment Follows-----
  >            >         _______________________________________________ >         Xen-devel mailing list
  >         [email protected] </mc/[email protected]>
  >         http://lists.xensource.com/xen-devel
  >            >
  > _______________________________________________
  > Xen-devel mailing list
  > [email protected] </mc/[email protected]>
  > http://lists.xensource.com/xen-devel

  _______________________________________________
  Xen-devel mailing list
  [email protected]
  </mc/[email protected]>
  http://lists.xensource.com/xen-devel

Quoted 7 lines

------------------------------------------------------------------------

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#6 lore raw

Re: Re: "Hotplug Scripts not working ..." error on jaunty

I am at the tip of xen/master branch of Jeremy's tree.

commit 2afad356210ac35cbbc81904e0ac8b514b7f6212
Merge: 9fa9003... 907d20f...
Author: Jeremy Fitzhardinge <[email protected]>
Date: Thu Oct 15 11:34:28 2009 -0700

Merge branch 'xen/vsyscall' into xen/master

* xen/vsyscall:
x86/vsyscall: fix 32-bit compile

-dulloor

Quoted 229 lines · Boris Derzhavets
Quoted 3 lines
Quoted 2 lines · Boris Derzhavets

By some reasons i have to run on regular basis run

./xen-hotplug-cleanup

Quoted 4 lines
Quoted 4 lines

on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

It was written on June 26, 2009 and was connected with some particular 9.04 instance.
Since then i did several Xen Host installs via official 3.4.1 tarball and via xen-unstable.hg but, every time the most recent JF's pvops kernel had been built to
support Dom0. Problem with hot-plug scripts was gone far away. My question :-
What kernel is supporting your Dom0 ?

Boris.
P.S. Seems to me , that was kernel related problem in June.

--- On *Sat, 10/17/09, Dulloor <[email protected]>* wrote:

From: Dulloor <[email protected]>
Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Marc - A. Dahlhaus" <[email protected]>
Cc: "Xen-devel" <[email protected]>
Date: Saturday, October 17, 2009, 6:08 PM

- udev version is 141 (udevadm info -V)

- There is only a /etc/udev directory. It had two files : xend.rules and xen-backend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make install-tools PYTHON_PREFIX_ARG=""

- Following is the output from "udevadm monitor" :

KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (xen-backend)
KERNEL[1255816932.768878] add      /devices/vbd-22-2050 (xen-backend)
KERNEL[1255816932.786000] add      /devices/vbd-22-2051 (xen-backend)
KERNEL[1255816932.817227] add      /devices/vif-22-0 (xen-backend)
UDEV  [1255816932.818643] add      /devices/vif-22-0 (xen-backend)
KERNEL[1255816933.008654] add      /devices/console-22-0 (xen-backend)
UDEV  [1255816933.009916] add      /devices/console-22-0 (xen-backend)
UDEV  [1255816933.657785] add      /devices/vbd-22-2049 (xen-backend)
UDEV  [1255816934.707977] add      /devices/vbd-22-2050 (xen-backend)
UDEV  [1255816935.761811] add      /devices/vbd-22-2051 (xen-backend)
KERNEL[1255817033.248057] remove   /devices/console-22-0 (xen-backend)

------------- ****After the error****
UDEV [1255817033.334001] remove /devices/console-22-0 (xen-backend)

-dulloor

Quoted 20 lines · On Sat, Oct 17, 2009 at 4:04 PM, Marc - A. Dahlhaus…

Hello,

Quoted 3 lines · Dulloor

I see that these patches made it to xen-unstable, but I still see the "Hotplug Scripts not working ..." error on my jaunty dom0 machine.

The patches only fixed the build-time and installation-time detection of
udev to work with version above of 124.

Have no jaunty based box around here to get some impressions of what goes wrong in this setup.

Could you check what udev version it has and if /etc/hotplug and/or /etc/udev contains xen related stuff?

As udev is in charge of hotplug events on jaunty a
"udevadm monitor" might get you some further details on what events are generated.

Quoted 8 lines
Quoted 5 lines

I am trying to run a simple para-VM. xend starts fine (had to build tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

Check what files get installed in /etc/udev and /etc/hotplug during installation. If you find anything xen related in /etc/hotplug remove it

and

Quoted 9 lines

check if that fixes your problem.

It would be interesting to know how you install xen...

Marc

Quoted 3 lines

-dulloor

On Sat, Jun 27, 2009 at 4:02 PM, Marc - A. Dahlhaus <[email protected]<http://mc/[email protected]>>

Quoted 7 lines · wrote:
Quoted 7 lines
Quoted 7 lines

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes
the detection of udev during buildtime only),
can you please change the subject line to something more appropriate

and

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines

give some additional details about the problem?

Marc

Quoted 12 lines · Boris Derzhavets

By some reasons i have to run on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] /<[email protected] <http://mc/[email protected]>>/* wrote:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
<[email protected] <http://mc/[email protected]>>
Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
version 124
To: "Boris Derzhavets" <[email protected]<http://mc/[email protected]>

Cc "Xen-devel" <[email protected]<http://mc/[email protected]>>,

"Keir Fraser"

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

<[email protected]<http://mc/[email protected]>

Date: Friday, June 26, 2009, 5:12 AM

Could go into 3.4 and unstable IMO.

On 3.3 there is no tools/hotplug/Linux/Makefile so it must be

altered

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines

there to use tools/examples/Makefile for the first chunk and should work
fine there.

Marc

Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:

Quoted 7 lines

Where this patch is supposed to go either xen-unstable.hg or xen-3.4-testing.hg (both) ?
Systems affected Ubuntu 9.04 (now) , F12 (pretty soon).

Boris

--- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration |

Westermann

Quoted 1 line

GmbH ] <[email protected] <http://mc/[email protected]></mc/compose?to=

Quoted 4 lines · [email protected] <http://mc/[email protected]>>> wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line

> From: Marc - A. Dahlhaus [ Administration |

Westermann
GmbH ]

Quoted 1 line
        <[email protected] <http://mc/[email protected]></mc/compose?to=

[email protected] <http://mc/[email protected]>>>

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line

Subject: [Xen-devel] [PATCH] Fix buildsystem to detect

udev >

Quoted 2 lines

version 124
To: "Xen-devel" <[email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 1 line
Cc "Daniel Schroeder" <[email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>>>,

"Keir Fraser"

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

<[email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 2 lines

Date: Wednesday, June 24, 2009, 12:26 PM
> udev removed the udevinfo symlink from

versions

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

higher than

Quoted 2 lines

123 and xens
build-system could not detect if udev is in place and

has the

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines

required
version. Attached patch fixes this.
> > Signed-off-by: Marc-A. Dahlhaus

<[email protected] <http://mc/[email protected]>
</mc/[email protected] <http://mc/[email protected]>>>

Quoted 1 line

> > > >

-----Inline Attachment Follows-----

Quoted 1 line
           >

_______________________________________________

Quoted 19 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 2 lines

Xen-devel mailing list [email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 5 lines
        http://lists.xensource.com/xen-devel
           >

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 1 line

http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]> </mc/[email protected]<http://mc/[email protected]>

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

http://lists.xensource.com/xen-devel

------------------------------------------------------------------------

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

Quoted 7 lines
Quoted 5 lines
Quoted 5 lines

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

Quoted 7 lines

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw

Re: Re: "Hotplug Scripts not working ..." error on jaunty

Please, tell how you setup Xen 3.4.1 or Xen  Unstable on 9.04 server ?

Boris.

P.S. Working sample:-

http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/

--- On Sun, 10/18/09, Dulloor <[email protected]> wrote:

From: Dulloor <[email protected]>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "Xen-devel" <[email protected]>
Date: Sunday, October 18, 2009, 1:37 AM

I am at the tip of xen/master branch of Jeremy's tree.

commit 2afad356210ac35cbbc81904e0ac8b514b7f6212
Merge: 9fa9003... 907d20f...
Author: Jeremy Fitzhardinge <[email protected]>

Date:   Thu Oct 15 11:34:28 2009 -0700

    Merge branch 'xen/vsyscall' into xen/master

    * xen/vsyscall:
      x86/vsyscall: fix 32-bit compile

-dulloor

Quoted 8 lines · Boris Derzhavets
Quoted 7 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to

re-enable ability start DomUs without hotplug scripts failure.

Boris.

It  was written on June 26, 2009 and was connected with some particular 9.04 instance.
Since then i did several Xen Host installs via official 3.4.1  tarball and via xen-unstable.hg  but, every time the most recent JF's pvops kernel had been built to

support Dom0. Problem with hot-plug scripts was gone far away. My question :-
What kernel is supporting your Dom0 ?

Boris.
P.S. Seems to me , that was kernel related problem in June.

--- On Sat, 10/17/09, Dulloor <[email protected]>
wrote:

From: Dulloor <[email protected]>
Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty

To: "Marc - A. Dahlhaus" <[email protected]>
Cc: "Xen-devel" <[email protected]>

Date: Saturday, October 17, 2009, 6:08 PM

- udev version is 141 (udevadm info -V)

- There is only a /etc/udev directory. It had two files : xend.rules and xen-backend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make install-tools PYTHON_PREFIX_ARG=""

- Following is the output from "udevadm monitor" :
KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (xen-backend)

KERNEL[1255816932.768878] add      /devices/vbd-22-2050 (xen-backend) KERNEL[1255816932.786000] add
  /devices/vbd-22-2051 (xen-backend)
KERNEL[1255816932.817227] add      /devices/vif-22-0 (xen-backend) UDEV  [1255816932.818643] add      /devices/vif-22-0 (xen-backend) KERNEL[1255816933.008654] add      /devices/console-22-0 (xen-backend)

UDEV  [1255816933.009916] add      /devices/console-22-0 (xen-backend) UDEV  [1255816933.657785] add      /devices/vbd-22-2049 (xen-backend) UDEV  [1255816934.707977] add      /devices/vbd-22-2050 (xen-backend) UDEV  [1255816935.761811] add      /devices/vbd-22-2051 (xen-backend)

KERNEL[1255817033.248057] remove   /devices/console-22-0 (xen-backend) ------------- ****After the error****
UDEV  [1255817033.334001] remove   /devices/console-22-0 (xen-backend)

-dulloor

Quoted 15 lines · Marc - A. Dahlhaus

Hello,

Quoted 4 lines · Dulloor

I see that these patches made it to xen-unstable, but I still see the

"Hotplug Scripts not working ..." error on my jaunty dom0 machine.

The patches only fixed the build-time and installation-time detection of udev to work with version above of 124.

Have no jaunty based box around here to get some impressions of what goes wrong in this setup.

Quoted 9 lines

Could you check what udev version it has and if /etc/hotplug and/or /etc/udev contains xen related stuff?

As udev is in charge of hotplug events on jaunty a
"udevadm monitor" might get you some further details on what events are generated.

Quoted 1 line

I am trying to run a simple para-VM. xend starts fine (had

to build

Quoted 5 lines
Quoted 4 lines

tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

Quoted 21 lines

Check what files get installed in /etc/udev and /etc/hotplug during

installation. If you find anything xen related in /etc/hotplug remove it and check if that fixes your problem.

It would be interesting to know how you install xen...

Marc

Quoted 11 lines

-dulloor

Quoted 8 lines · Marc - A. Dahlhaus

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes
the detection of udev during buildtime only),
can you please change the subject line to

something more appropriate and

Quoted 28 lines
Quoted 27 lines
Quoted 27 lines

give some additional details about the problem?

Marc

Quoted 21 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] /<[email protected]>/* wrote:

  From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>

  Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
  To: "Boris Derzhavets" <[email protected]>

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

  Cc: "Xen-devel" <[email protected]>, "Keir Fraser" <[email protected]>

  Date: Friday, June 26, 2009, 5:12 AM

  Could go into 3.4 and unstable IMO.

  On 3.3 there is no

tools/hotplug/Linux/Makefile so it must be altered

Quoted 45 lines
Quoted 44 lines
Quoted 44 lines
Quoted 44 lines

  there to use tools/examples/Makefile for the first chunk and should work
  fine there.

  Marc

  Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:
  > Where this patch is supposed to go either xen-unstable.hg or

  > xen-3.4-testing.hg (both) ?
  > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon). >
  > Boris
  >

  > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration | Westermann
  > GmbH ] <[email protected] </mc/[email protected]>> wrote:

  >            >         From: Marc - A. Dahlhaus [ Administration | Westermann
  GmbH ]
  >         <[email protected] </mc/[email protected]>>

  >         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
  >         version 124
  >         To: "Xen-devel" <[email protected]

  </mc/[email protected]>> >         Cc: "Daniel Schroeder" <[email protected]

  </mc/[email protected]>>, "Keir Fraser" >         <[email protected]

  </mc/[email protected]>> >         Date: Wednesday, June 24, 2009, 12:26 PM

  >            >         udev removed the udevinfo symlink from versions higher than
  >         123 and xens
  >         build-system could not detect if udev is in place and

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

  has the
  >         required
  >         version. Attached patch fixes this.
  >            >            >

Signed-off-by Marc-A. Dahlhaus
Quoted 24 lines
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines

<[email protected]
  </mc/[email protected]>>

  >            >            >            >            > -----Inline Attachment Follows-----
  >            >         _______________________________________________

  >         Xen-devel mailing list
  >         [email protected]
  </mc/[email protected]>

  >         http://lists.xensource.com/xen-devel
  >            >
  > _______________________________________________

  > Xen-devel mailing list
  > [email protected]
  </mc/[email protected]>

  > http://lists.xensource.com/xen-devel

  _______________________________________________

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

  Xen-devel mailing list
  [email protected]
  </mc/[email protected]>

  http://lists.xensource.com/xen-devel

------------------------------------------------------------------------

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

_______________________________________________
Xen-devel mailing list
[email protected]

http://lists.xensource.com/xen-devel

Quoted 9 lines
Quoted 7 lines
Quoted 7 lines

_______________________________________________
Xen-devel mailing list

[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]

http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw

Re: Re: "Hotplug Scripts not working ..." error on jaunty

I use xen-unstable (at the tip again). I have been following your blog. Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base installation. I will try 9.04-Server (not sure if it will help though). Btw, these VM images were working fine with 8.04 installation.

-dulloor

Quoted 30 lines · Boris Derzhavets

Please, tell how you setup Xen 3.4.1 or Xen Unstable on 9.04 server ?

Boris.

P.S. Working sample:-

http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/

--- On *Sun, 10/18/09, Dulloor <[email protected]>* wrote:

From: Dulloor <[email protected]>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "Xen-devel" < [email protected]>
Date: Sunday, October 18, 2009, 1:37 AM

I am at the tip of xen/master branch of Jeremy's tree.

commit 2afad356210ac35cbbc81904e0ac8b514b7f6212
Merge: 9fa9003... 907d20f...
Author: Jeremy Fitzhardinge <[email protected]<http://mc/[email protected]>

Quoted 1 line

Date: Thu Oct 15 11:34:28 2009 -0700

Quoted 254 lines

Merge branch 'xen/vsyscall' into xen/master

* xen/vsyscall:
x86/vsyscall: fix 32-bit compile

-dulloor

On Sun, Oct 18, 2009 at 12:49 AM, Boris Derzhavets <[email protected]<http://mc/[email protected]>

Quoted 244 lines
Quoted 3 lines · wrote:
Quoted 2 lines · Boris Derzhavets

By some reasons i have to run on regular basis run

./xen-hotplug-cleanup

Quoted 4 lines
Quoted 4 lines

on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

It was written on June 26, 2009 and was connected with some particular 9.04 instance.
Since then i did several Xen Host installs via official 3.4.1 tarball and via xen-unstable.hg but, every time the most recent JF's pvops kernel had been built to
support Dom0. Problem with hot-plug scripts was gone far away. My question :-
What kernel is supporting your Dom0 ?

Boris.
P.S. Seems to me , that was kernel related problem in June.

--- On *Sat, 10/17/09, Dulloor <[email protected]<http://mc/[email protected]>

Quoted 1 line · * wrote:

From: Dulloor <[email protected] <http://mc/[email protected]>

Quoted 1 line

Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Marc - A. Dahlhaus" <[email protected] <http://mc/[email protected]>>
Cc: "Xen-devel" <[email protected]<http://mc/[email protected]>

Quoted 1 line

Date: Saturday, October 17, 2009, 6:08 PM

- udev version is 141 (udevadm info -V)

- There is only a /etc/udev directory. It had two files : xend.rules and xen-backend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make install-tools PYTHON_PREFIX_ARG=""

- Following is the output from "udevadm monitor" :

KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (xen-backend)
KERNEL[1255816932.768878] add      /devices/vbd-22-2050 (xen-backend)
KERNEL[1255816932.786000] add      /devices/vbd-22-2051 (xen-backend)
KERNEL[1255816932.817227] add      /devices/vif-22-0 (xen-backend)
UDEV  [1255816932.818643] add      /devices/vif-22-0 (xen-backend)
KERNEL[1255816933.008654] add      /devices/console-22-0 (xen-backend)
UDEV  [1255816933.009916] add      /devices/console-22-0 (xen-backend)
UDEV  [1255816933.657785] add      /devices/vbd-22-2049 (xen-backend)
UDEV  [1255816934.707977] add      /devices/vbd-22-2050 (xen-backend)
UDEV  [1255816935.761811] add      /devices/vbd-22-2051 (xen-backend)
KERNEL[1255817033.248057] remove   /devices/console-22-0 (xen-backend)

------------- ****After the error****
UDEV [1255817033.334001] remove /devices/console-22-0 (xen-backend)

-dulloor

Quoted 11 lines · On Sat, Oct 17, 2009 at 4:04 PM, Marc - A. Dahlhaus…

Hello,

Quoted 3 lines · Dulloor

I see that these patches made it to xen-unstable, but I still see the "Hotplug Scripts not working ..." error on my jaunty dom0 machine.

The patches only fixed the build-time and installation-time detection of
udev to work with version above of 124.

Have no jaunty based box around here to get some impressions of what

goes

Quoted 9 lines

wrong in this setup.

Could you check what udev version it has and if /etc/hotplug and/or /etc/udev contains xen related stuff?

As udev is in charge of hotplug events on jaunty a
"udevadm monitor" might get you some further details on what events are generated.

Quoted 8 lines
Quoted 5 lines

I am trying to run a simple para-VM. xend starts fine (had to build tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

Check what files get installed in /etc/udev and /etc/hotplug during installation. If you find anything xen related in /etc/hotplug remove it

and

Quoted 9 lines

check if that fixes your problem.

It would be interesting to know how you install xen...

Marc

Quoted 3 lines

-dulloor

On Sat, Jun 27, 2009 at 4:02 PM, Marc - A. Dahlhaus <[email protected]<http://mc/[email protected]>>

Quoted 7 lines · wrote:
Quoted 7 lines
Quoted 7 lines

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes
the detection of udev during buildtime only),
can you please change the subject line to something more appropriate

and

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

give some additional details about the problem?

Marc

Quoted 1 line · Boris Derzhavets
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

By some reasons i have to run on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration |

Westermann

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

GmbH ] /<[email protected] <http://mc/[email protected]>>/* wrote:

From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
<[email protected] <http://mc/[email protected]>>
Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
version 124
To: "Boris Derzhavets" <[email protected]<http://mc/[email protected]>

Cc "Xen-devel" <[email protected]<http://mc/[email protected]>>,

"Keir Fraser"

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

<[email protected]<http://mc/[email protected]>

Date: Friday, June 26, 2009, 5:12 AM

Could go into 3.4 and unstable IMO.

On 3.3 there is no tools/hotplug/Linux/Makefile so it must be

altered

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

there to use tools/examples/Makefile for the first chunk and should work
fine there.

Marc

Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris

Derzhavets:

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines

Where this patch is supposed to go either xen-unstable.hg or xen-3.4-testing.hg (both) ?
Systems affected Ubuntu 9.04 (now) , F12 (pretty soon).

Boris

--- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration |

Westermann

Quoted 1 line

GmbH ] <[email protected] <http://mc/[email protected]></mc/compose?to=

Quoted 4 lines · [email protected] <http://mc/[email protected]>>> wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line

> From: Marc - A. Dahlhaus [ Administration |

Westermann
GmbH ]

Quoted 1 line
        <[email protected] <http://mc/[email protected]></mc/compose?to=

[email protected] <http://mc/[email protected]>>>

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line

Subject: [Xen-devel] [PATCH] Fix buildsystem to detect

udev >

Quoted 2 lines

version 124
To: "Xen-devel" <[email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 1 line
Cc "Daniel Schroeder" <[email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>>>,

"Keir Fraser"

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

<[email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 2 lines

Date: Wednesday, June 24, 2009, 12:26 PM
> udev removed the udevinfo symlink from

versions

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

higher than

Quoted 2 lines

123 and xens
build-system could not detect if udev is in place and

has the

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines

required
version. Attached patch fixes this.
> > Signed-off-by: Marc-A. Dahlhaus

<[email protected] <http://mc/[email protected]>
</mc/[email protected] <http://mc/[email protected]>>>

Quoted 1 line

> > > >

-----Inline Attachment Follows-----

Quoted 1 line
           >

_______________________________________________

Quoted 19 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 2 lines

Xen-devel mailing list [email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 5 lines
        http://lists.xensource.com/xen-devel
           >

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 1 line

http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]> </mc/[email protected]<http://mc/[email protected]>

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

http://lists.xensource.com/xen-devel

------------------------------------------------------------------------

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

Quoted 7 lines
Quoted 5 lines
Quoted 5 lines

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#9 lore raw

Re: Re: "Hotplug Scripts not working ..." error on jaunty

Quoted 1 line

I will try 9.04-Server (not sure if it will help though)

1. I believe it will help.
2. Bruce's  Edge feed would be also very much wanted.

Boris.

--- On Sun, 10/18/09, Dulloor <[email protected]> wrote:

From: Dulloor <[email protected]>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "Xen-devel" <[email protected]>
Date: Sunday, October 18, 2009, 3:09 AM

I use xen-unstable (at the tip again). I have been following your blog. Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base installation. I will try 9.04-Server (not sure if it will help though). Btw, these VM images were working fine with 8.04 installation.

-dulloor

On Sun, Oct 18, 2009 at 3:00 AM, Boris Derzhavets <[email protected]> wrote:

Please, tell how you setup Xen 3.4.1 or Xen  Unstable on 9.04 server ?

Boris.

P.S. Working sample:-

http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/

--- On Sun, 10/18/09, Dulloor <[email protected]> wrote:

From: Dulloor <[email protected]>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty

To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "Xen-devel" <[email protected]>

Date: Sunday, October 18, 2009, 1:37 AM

I am at the tip of xen/master branch of Jeremy's tree.

commit
2afad356210ac35cbbc81904e0ac8b514b7f6212
Merge: 9fa9003... 907d20f...
Author: Jeremy Fitzhardinge <[email protected]>

Date:   Thu Oct 15 11:34:28 2009 -0700

    Merge branch 'xen/vsyscall' into xen/master

    * xen/vsyscall:
      x86/vsyscall: fix 32-bit compile

-dulloor

Quoted 8 lines · Boris Derzhavets
Quoted 7 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to

re-enable ability start DomUs without hotplug scripts failure.

Boris.

It  was written on June 26, 2009 and was connected with some particular 9.04 instance.
Since then i did several Xen Host installs via official 3.4.1  tarball and via xen-unstable.hg  but, every time the most recent JF's pvops kernel had been built to

support Dom0. Problem with hot-plug scripts was gone far away. My question :-
What kernel is supporting your Dom0 ?

Boris.
P.S. Seems to me , that was kernel related problem in June.

--- On Sat, 10/17/09, Dulloor <[email protected]>
wrote:

From: Dulloor <[email protected]>

Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty

To: "Marc - A. Dahlhaus" <[email protected]>
Cc: "Xen-devel" <[email protected]>

Date: Saturday, October 17, 2009, 6:08 PM

- udev version is 141 (udevadm info -V)

- There is only a /etc/udev directory. It had two files : xend.rules and xen-backend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make install-tools PYTHON_PREFIX_ARG=""

- Following is the output from "udevadm monitor" :
KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (xen-backend)

KERNEL[1255816932.768878] add      /devices/vbd-22-2050 (xen-backend) KERNEL[1255816932.786000] add
  /devices/vbd-22-2051 (xen-backend)
KERNEL[1255816932.817227] add      /devices/vif-22-0 (xen-backend) UDEV  [1255816932.818643] add      /devices/vif-22-0 (xen-backend) KERNEL[1255816933.008654] add      /devices/console-22-0 (xen-backend)

UDEV  [1255816933.009916] add      /devices/console-22-0 (xen-backend) UDEV  [1255816933.657785] add      /devices/vbd-22-2049 (xen-backend) UDEV  [1255816934.707977] add      /devices/vbd-22-2050 (xen-backend)

UDEV  [1255816935.761811] add      /devices/vbd-22-2051 (xen-backend)

KERNEL[1255817033.248057] remove   /devices/console-22-0 (xen-backend) ------------- ****After the error****
UDEV  [1255817033.334001] remove   /devices/console-22-0 (xen-backend)

-dulloor

Quoted 17 lines · Marc - A. Dahlhaus

Hello,

Quoted 5 lines · Dulloor

I see that these patches made it to xen-unstable, but I still see the

"Hotplug Scripts not working ..." error on my jaunty dom0 machine.

The patches only fixed the build-time and installation-time detection of udev to work with version above of 124.

Have no jaunty based box around here to get some impressions of what goes wrong in this setup.

Quoted 10 lines

Could you check what udev version it has and if /etc/hotplug and/or /etc/udev contains xen related stuff?

As udev is in charge of hotplug events on jaunty a
"udevadm monitor" might get you some further details on what events are generated.

Quoted 1 line

I am trying to run a simple para-VM. xend starts fine (had

to build

Quoted 8 lines
Quoted 4 lines

tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

Check what files get installed in /etc/udev and /etc/hotplug during

Quoted 21 lines

installation. If you find anything xen related in /etc/hotplug remove it and check if that fixes your problem.

It would be interesting to know how you install xen...

Marc

Quoted 12 lines

-dulloor

Quoted 9 lines · Marc - A. Dahlhaus

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes
the detection of udev during buildtime only),
can you please change the subject line to

something more appropriate and

Quoted 37 lines
Quoted 35 lines
Quoted 35 lines

give some additional details about the problem?

Marc

Quoted 29 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] /<[email protected]>/* wrote:

  From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>

  Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
  To: "Boris Derzhavets" <[email protected]>

  Cc: "Xen-devel" <[email protected]>, "Keir Fraser" <[email protected]>

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

  Date: Friday, June 26, 2009, 5:12 AM

  Could go into 3.4 and unstable IMO.

  On 3.3 there is no

tools/hotplug/Linux/Makefile so it must be altered

Quoted 55 lines
Quoted 53 lines
Quoted 53 lines
Quoted 53 lines

  there to use tools/examples/Makefile for the first chunk and should work
  fine there.

  Marc

  Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:
  > Where this patch is supposed to go either xen-unstable.hg or

  > xen-3.4-testing.hg (both) ?
  > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon). >
  > Boris
  >

  > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration | Westermann
  > GmbH ] <[email protected] </mc/[email protected]>> wrote:

  >            >         From: Marc - A. Dahlhaus [ Administration | Westermann
  GmbH ]
  >         <[email protected] </mc/[email protected]>>

  >         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
  >         version 124
  >         To: "Xen-devel" <[email protected]

  </mc/[email protected]>> >         Cc: "Daniel Schroeder" <[email protected]

  </mc/[email protected]>>, "Keir Fraser" >         <[email protected]

  </mc/[email protected]>> >         Date: Wednesday, June 24, 2009, 12:26 PM

  >            >         udev removed the udevinfo symlink from versions higher than
  >         123 and xens
  >         build-system could not detect if udev is in place and

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

  has the
  >         required
  >         version. Attached patch fixes this.
  >            >            >

Signed-off-by Marc-A. Dahlhaus
Quoted 35 lines
Quoted 33 lines
Quoted 33 lines
Quoted 33 lines

<[email protected]
  </mc/[email protected]>>

  >            >            >            >            > -----Inline Attachment Follows-----
  >            >         _______________________________________________

  >         Xen-devel mailing list
  >         [email protected]
  </mc/[email protected]>

  >         http://lists.xensource.com/xen-devel
  >            >
  > _______________________________________________

  > Xen-devel mailing list
  > [email protected]
  </mc/[email protected]>

  > http://lists.xensource.com/xen-devel

  _______________________________________________

  Xen-devel mailing list
  [email protected]
  </mc/[email protected]>

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

  http://lists.xensource.com/xen-devel

------------------------------------------------------------------------

Quoted 10 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

_______________________________________________
Xen-devel mailing list
[email protected]

http://lists.xensource.com/xen-devel

_______________________________________________

Quoted 9 lines
Quoted 7 lines
Quoted 7 lines

Xen-devel mailing list

[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]

http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw

Re: Re: "Hotplug Scripts not working ..." error on jaunty

Boris,

The "hotplug" error is gone with 9.04 server. The VMs boot fine (atleast per logs and xm list).

I am not able to access VM via console(hvc0) though. I have tried everything out there in your blogs, but the console just freezes at this same point :
"

[    0.010000] Initializing cgroup subsys memory
[    0.010000] Initializing cgroup subsys freezer

"
Any clues on how to go about debugging this ?

I use the default network-nat configuration for VMs(with addresses from 10.0.0.1/24). That doesn't work either. Is that expected too ? I am sure the bridge configuration should work though (will try tomorrow).

-dulloor

Quoted 23 lines · Boris Derzhavets
Quoted 1 line

I will try 9.04-Server (not sure if it will help though)

1. I believe it will help.
2. Bruce's Edge feed would be also very much wanted.

Boris.

--- On *Sun, 10/18/09, Dulloor <[email protected]>* wrote:

From: Dulloor <[email protected]>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "Xen-devel" < [email protected]>
Date: Sunday, October 18, 2009, 3:09 AM

I use xen-unstable (at the tip again). I have been following your blog. Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base installation. I will try 9.04-Server (not sure if it will help though). Btw, these VM images were working fine with 8.04 installation.

Quoted 299 lines

-dulloor

On Sun, Oct 18, 2009 at 3:00 AM, Boris Derzhavets <[email protected]<http://mc/[email protected]>

Quoted 293 lines

wrote:

Please, tell how you setup Xen 3.4.1 or Xen Unstable on 9.04 server ?

Boris.

P.S. Working sample:-

http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/

--- On *Sun, 10/18/09, Dulloor <[email protected]<http://mc/[email protected]>

Quoted 1 line · * wrote:

From: Dulloor <[email protected] <http://mc/[email protected]>

Quoted 1 line

Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <[email protected]<http://mc/[email protected]>

Quoted 1 line

Cc: "Marc - A. Dahlhaus" <[email protected] <http://mc/[email protected]>>,
"Xen-devel" <[email protected]<http://mc/[email protected]>

Quoted 1 line

Date: Sunday, October 18, 2009, 1:37 AM

I am at the tip of xen/master branch of Jeremy's tree.

commit 2afad356210ac35cbbc81904e0ac8b514b7f6212
Merge: 9fa9003... 907d20f...
Author: Jeremy Fitzhardinge <[email protected]<http://mc/[email protected]>

Quoted 1 line

Date: Thu Oct 15 11:34:28 2009 -0700

Merge branch 'xen/vsyscall' into xen/master

* xen/vsyscall:
x86/vsyscall: fix 32-bit compile

-dulloor

On Sun, Oct 18, 2009 at 12:49 AM, Boris Derzhavets <[email protected]<http://mc/[email protected]>

Quoted 247 lines
Quoted 3 lines · wrote:
Quoted 2 lines · Boris Derzhavets

By some reasons i have to run on regular basis run

./xen-hotplug-cleanup

Quoted 4 lines
Quoted 4 lines

on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

It was written on June 26, 2009 and was connected with some particular 9.04 instance.
Since then i did several Xen Host installs via official 3.4.1 tarball and via xen-unstable.hg but, every time the most recent JF's pvops kernel had been built to
support Dom0. Problem with hot-plug scripts was gone far away. My question :-
What kernel is supporting your Dom0 ?

Boris.
P.S. Seems to me , that was kernel related problem in June.

--- On *Sat, 10/17/09, Dulloor <[email protected]<http://mc/[email protected]>

Quoted 1 line · * wrote:

From: Dulloor <[email protected]<http://mc/[email protected]>

Quoted 1 line

Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on
jaunty
To: "Marc - A. Dahlhaus" <[email protected] <http://mc/[email protected]>>
Cc: "Xen-devel" <[email protected]<http://mc/[email protected]>

Quoted 1 line

Date: Saturday, October 17, 2009, 6:08 PM

- udev version is 141 (udevadm info -V)

- There is only a /etc/udev directory. It had two files : xend.rules and xen-backend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make install-tools PYTHON_PREFIX_ARG=""

- Following is the output from "udevadm monitor" :

KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (xen-backend)
KERNEL[1255816932.768878] add      /devices/vbd-22-2050 (xen-backend)
KERNEL[1255816932.786000] add      /devices/vbd-22-2051 (xen-backend)
KERNEL[1255816932.817227] add      /devices/vif-22-0 (xen-backend)
UDEV  [1255816932.818643] add      /devices/vif-22-0 (xen-backend)
KERNEL[1255816933.008654] add      /devices/console-22-0 (xen-backend)
UDEV  [1255816933.009916] add      /devices/console-22-0 (xen-backend)
UDEV  [1255816933.657785] add      /devices/vbd-22-2049 (xen-backend)
UDEV  [1255816934.707977] add      /devices/vbd-22-2050 (xen-backend)
UDEV  [1255816935.761811] add      /devices/vbd-22-2051 (xen-backend)
KERNEL[1255817033.248057] remove   /devices/console-22-0 (xen-backend)

------------- ****After the error****
UDEV [1255817033.334001] remove /devices/console-22-0 (xen-backend)

-dulloor

Quoted 8 lines · On Sat, Oct 17, 2009 at 4:04 PM, Marc - A. Dahlhaus…

Hello,

Quoted 3 lines · Dulloor

I see that these patches made it to xen-unstable, but I still see the "Hotplug Scripts not working ..." error on my jaunty dom0 machine.

The patches only fixed the build-time and installation-time detection

of

Quoted 3 lines

udev to work with version above of 124.

Have no jaunty based box around here to get some impressions of what

goes

Quoted 9 lines

wrong in this setup.

Could you check what udev version it has and if /etc/hotplug and/or /etc/udev contains xen related stuff?

As udev is in charge of hotplug events on jaunty a
"udevadm monitor" might get you some further details on what events are generated.

Quoted 8 lines
Quoted 5 lines

I am trying to run a simple para-VM. xend starts fine (had to build tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

Check what files get installed in /etc/udev and /etc/hotplug during installation. If you find anything xen related in /etc/hotplug remove

it and

Quoted 9 lines

check if that fixes your problem.

It would be interesting to know how you install xen...

Marc

Quoted 3 lines

-dulloor

On Sat, Jun 27, 2009 at 4:02 PM, Marc - A. Dahlhaus <[email protected]<http://mc/[email protected]>>

Quoted 7 lines · wrote:
Quoted 7 lines
Quoted 7 lines

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes
the detection of udev during buildtime only),
can you please change the subject line to something more appropriate

and

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

give some additional details about the problem?

Marc

Quoted 1 line · Boris Derzhavets
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

By some reasons i have to run on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration |

Westermann

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

GmbH ] /<[email protected] <http://mc/[email protected]>>/* wrote:

From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ]
<[email protected] <http://mc/[email protected]>>
Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
version 124
To: "Boris Derzhavets" <[email protected]<http://mc/[email protected]>

Cc "Xen-devel" <[email protected]<http://mc/[email protected]>>,

"Keir Fraser"

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

<[email protected]<http://mc/[email protected]>

Date: Friday, June 26, 2009, 5:12 AM

Could go into 3.4 and unstable IMO.

On 3.3 there is no tools/hotplug/Linux/Makefile so it must be

altered

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

there to use tools/examples/Makefile for the first chunk and should work
fine there.

Marc

Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris

Derzhavets:

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines

Where this patch is supposed to go either xen-unstable.hg or xen-3.4-testing.hg (both) ?
Systems affected Ubuntu 9.04 (now) , F12 (pretty soon).

Boris

--- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration |

Westermann

Quoted 1 line

GmbH ] <[email protected] <http://mc/[email protected]></mc/compose?to=

Quoted 4 lines · [email protected] <http://mc/[email protected]>>> wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 1 line

> From: Marc - A. Dahlhaus [ Administration |

Westermann
GmbH ]

Quoted 1 line
        <[email protected] <http://mc/[email protected]></mc/compose?to=

[email protected] <http://mc/[email protected]>>>

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 1 line

Subject: [Xen-devel] [PATCH] Fix buildsystem to detect

udev >

Quoted 2 lines

version 124
To: "Xen-devel" <[email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 1 line
Cc "Daniel Schroeder" <[email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>>>,

"Keir Fraser"

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

<[email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 2 lines

Date: Wednesday, June 24, 2009, 12:26 PM
> udev removed the udevinfo symlink from

versions

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

higher than

Quoted 2 lines

123 and xens
build-system could not detect if udev is in place and

has the

Quoted 3 lines

required
version. Attached patch fixes this.
> > Signed-off-by: Marc-A.

Dahlhaus

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

<[email protected] <http://mc/[email protected]>
</mc/[email protected] <http://mc/[email protected]>>>

Quoted 1 line

> > > >

-----Inline Attachment Follows-----

Quoted 1 line
           >

_______________________________________________

Quoted 19 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 2 lines

Xen-devel mailing list [email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 5 lines
        http://lists.xensource.com/xen-devel
           >

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>

</mc/[email protected]<http://mc/[email protected]>

Quoted 1 line

http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]> </mc/[email protected]<http://mc/[email protected]>

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

http://lists.xensource.com/xen-devel

------------------------------------------------------------------------

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

Quoted 7 lines
Quoted 5 lines
Quoted 5 lines

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list [email protected]<http://mc/[email protected]>
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw

Re: Re: "Hotplug Scripts not working ..." error on jaunty

You have to take care of hvc0 like tty1 entry under /etc/event.d on:
1. Ubuntu's <= 9.04 pv guest

# cd /etc/event.d
# cp tty1 hvc0
and edit hvc0 file correspondently
2. /etc/inittab on CentOS 5.3 DomU
should have entry
hvc0:23:respawn:...:hvc0
like for tty1,tty2 and etc

and so on,  console=hvc0 at /boot/vmlinuz-xen  module's line requires activating hvc0 via guest's specific location, view for instance :-

http://bderzhavets.wordpress.com/2009/05/21/install-ubuntu-jaunty-pv-hvm-domus-at-xen-3-4-dom0-kernel-2-6-30-rc6-tip/

or just tell exactly which one (linux) PV DomU is causing you trouble with serial console.

Boris.
P.S. F11, U 9.04 Server , OpenSuse 11.1(2)  PV DomUs may loaded via vfb as well,but U 9.10 Server (beta) requires serial console

--- On Tue, 10/20/09, Dulloor <[email protected]> wrote:

From: Dulloor <[email protected]>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <[email protected]>
Cc: "Xen-devel" <[email protected]>, "Marc - A. Dahlhaus" <[email protected]>
Date: Tuesday, October 20, 2009, 6:22 AM

Boris,

The "hotplug" error is gone with 9.04 server. The VMs boot fine (atleast per logs and xm list).

I am not able to access VM via console(hvc0) though. I have tried everything out there in your blogs, but the console just freezes at this same point :

"
[    0.010000] Initializing cgroup subsys memory
[    0.010000] Initializing cgroup subsys freezer
"
Any clues on how to go about debugging this ?

I use the default network-nat configuration for VMs(with addresses from 10.0.0.1/24). That doesn't work either. Is that expected too ?

I am sure the bridge configuration should work though (will try tomorrow).

-dulloor

Quoted 1 line · Boris Derzhavets

I will try 9.04-Server (not sure if it will help though)

1. I believe it will help.
2. Bruce's  Edge feed would be also very much wanted.

Boris.

--- On Sun, 10/18/09, Dulloor <[email protected]> wrote:

From: Dulloor <[email protected]>

Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "Xen-devel" <[email protected]>

Date: Sunday, October 18, 2009, 3:09 AM

I use xen-unstable (at the tip again). I have been following your blog. Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base installation. I
will try 9.04-Server (not sure if it will help though). Btw, these VM images were working fine with 8.04 installation.

-dulloor

On Sun, Oct 18, 2009 at 3:00 AM, Boris Derzhavets <[email protected]> wrote:

Please, tell how you setup Xen 3.4.1 or Xen  Unstable on 9.04 server ?

Boris.

P.S. Working sample:-

http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/

--- On Sun, 10/18/09, Dulloor <[email protected]> wrote:

From: Dulloor <[email protected]>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty

To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "Xen-devel" <[email protected]>

Date: Sunday, October 18, 2009, 1:37 AM

I am at the tip of xen/master branch of Jeremy's tree.

commit
2afad356210ac35cbbc81904e0ac8b514b7f6212
Merge: 9fa9003... 907d20f...
Author: Jeremy Fitzhardinge <[email protected]>

Date:   Thu Oct 15 11:34:28 2009 -0700

    Merge branch 'xen/vsyscall' into xen/master

    * xen/vsyscall:
      x86/vsyscall: fix 32-bit compile

-dulloor

Quoted 8 lines · Boris Derzhavets
Quoted 7 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to

re-enable ability start DomUs without hotplug scripts failure.

Boris.

It  was written on June 26, 2009 and was connected with some particular 9.04 instance.
Since then i did several Xen Host installs via official 3.4.1  tarball and via xen-unstable.hg  but, every time the most recent JF's pvops kernel had been built to

support Dom0. Problem with hot-plug scripts was gone far away. My question :-
What kernel is supporting your Dom0 ?

Boris.
P.S. Seems to me , that was kernel related problem in June.

--- On Sat, 10/17/09, Dulloor <[email protected]>
wrote:

From: Dulloor <[email protected]>

Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty

To: "Marc - A. Dahlhaus" <[email protected]>
Cc: "Xen-devel" <[email protected]>

Date: Saturday, October 17, 2009, 6:08 PM

- udev version is 141 (udevadm info -V)

- There is only a /etc/udev directory. It had two files : xend.rules and xen-backend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make install-tools PYTHON_PREFIX_ARG=""

- Following is the output from "udevadm monitor" :
KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (xen-backend)

KERNEL[1255816932.768878] add      /devices/vbd-22-2050 (xen-backend) KERNEL[1255816932.786000] add
  /devices/vbd-22-2051 (xen-backend)
KERNEL[1255816932.817227] add      /devices/vif-22-0 (xen-backend) UDEV  [1255816932.818643] add      /devices/vif-22-0 (xen-backend) KERNEL[1255816933.008654] add      /devices/console-22-0 (xen-backend)

UDEV  [1255816933.009916] add      /devices/console-22-0 (xen-backend) UDEV  [1255816933.657785] add      /devices/vbd-22-2049 (xen-backend) UDEV  [1255816934.707977] add      /devices/vbd-22-2050 (xen-backend)

UDEV  [1255816935.761811] add      /devices/vbd-22-2051 (xen-backend)

KERNEL[1255817033.248057] remove   /devices/console-22-0 (xen-backend) ------------- ****After the error****
UDEV  [1255817033.334001] remove   /devices/console-22-0 (xen-backend)

-dulloor

Quoted 25 lines · Marc - A. Dahlhaus

Hello,

Quoted 6 lines · Dulloor

I see that these patches made it to xen-unstable, but I still see the

"Hotplug Scripts not working ..." error on my jaunty dom0 machine.

The patches only fixed the build-time and installation-time detection of udev to work with version above of 124.

Have no jaunty based box around here to get some impressions of what goes wrong in this setup.

Could you check what udev version it has and if /etc/hotplug and/or /etc/udev contains xen related stuff?

Quoted 5 lines

As udev is in charge of hotplug events on jaunty a
"udevadm monitor" might get you some further details on what events are generated.

Quoted 1 line

I am trying to run a simple para-VM. xend starts fine (had

to build

Quoted 9 lines
Quoted 4 lines

tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

Check what files get installed in /etc/udev and /etc/hotplug during

Quoted 23 lines

installation. If you find anything xen related in /etc/hotplug remove it and check if that fixes your problem.

It would be interesting to know how you install xen...

Marc

Quoted 13 lines

-dulloor

Quoted 10 lines · Marc - A. Dahlhaus

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes
the detection of udev during buildtime only),
can you please change the subject line to

something more appropriate and

Quoted 43 lines
Quoted 40 lines
Quoted 40 lines

give some additional details about the problem?

Marc

Quoted 34 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] /<[email protected]>/* wrote:

  From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>

  Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
  To: "Boris Derzhavets" <[email protected]>

  Cc: "Xen-devel" <[email protected]>, "Keir Fraser" <[email protected]>

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

  Date: Friday, June 26, 2009, 5:12 AM

  Could go into 3.4 and unstable IMO.

  On 3.3 there is no

tools/hotplug/Linux/Makefile so it must be altered

Quoted 65 lines
Quoted 62 lines
Quoted 62 lines
Quoted 62 lines

  there to use tools/examples/Makefile for the first chunk and should work
  fine there.

  Marc

  Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:
  > Where this patch is supposed to go either xen-unstable.hg or

  > xen-3.4-testing.hg (both) ?
  > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon). >
  > Boris
  >

  > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration | Westermann
  > GmbH ] <[email protected] </mc/[email protected]>> wrote:

  >            >         From: Marc - A. Dahlhaus [ Administration | Westermann
  GmbH ]
  >         <[email protected] </mc/[email protected]>>

  >         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
  >         version 124
  >         To: "Xen-devel" <[email protected]

  </mc/[email protected]>> >         Cc: "Daniel Schroeder" <[email protected]

  </mc/[email protected]>>, "Keir Fraser" >         <[email protected]

  </mc/[email protected]>> >         Date: Wednesday, June 24, 2009, 12:26 PM

  >            >         udev removed the udevinfo symlink from versions higher than
  >         123 and xens
  >         build-system could not detect if udev is in place and

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

  has the
  >         required
  >         version. Attached patch fixes this.
  >            >            >

Signed-off-by Marc-A. Dahlhaus
Quoted 42 lines
Quoted 39 lines
Quoted 39 lines
Quoted 39 lines

<[email protected]
  </mc/[email protected]>>

  >            >            >            >            > -----Inline Attachment Follows-----
  >            >         _______________________________________________

  >         Xen-devel mailing list
  >         [email protected]
  </mc/[email protected]>

  >         http://lists.xensource.com/xen-devel
  >            >
  > _______________________________________________

  > Xen-devel mailing list
  > [email protected]
  </mc/[email protected]>

  > http://lists.xensource.com/xen-devel

  _______________________________________________

  Xen-devel mailing list
  [email protected]
  </mc/[email protected]>

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

  http://lists.xensource.com/xen-devel

------------------------------------------------------------------------

Quoted 12 lines
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines

_______________________________________________
Xen-devel mailing list
[email protected]

http://lists.xensource.com/xen-devel

_______________________________________________

Quoted 10 lines
Quoted 8 lines
Quoted 8 lines

Xen-devel mailing list

[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]

http://lists.xensource.com/xen-devel

-----Inline Attachment Follows-----

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#12 lore raw

Re: Re: "Hotplug Scripts not working ..." error on jaunty

I used to work with NAT for DomUs only on Fedoras 12,11,10,8 (libvirtd & dnmask). Due to absence libvirt ->xen driver on Ubuntu's Servers 9.04,8.10 i always configured xen bridge via /etc/xen/xend-config.sxp. It works fine.

--- On Tue, 10/20/09, Boris Derzhavets <[email protected]> wrote:

From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Dulloor" <[email protected]>
Cc: "Xen-devel" <[email protected]>, "Marc - A. Dahlhaus" <[email protected]>
Date: Tuesday, October 20, 2009, 10:39 AM

You have to take care of hvc0 like tty1 entry under /etc/event.d on:
1. Ubuntu's <= 9.04 pv guest

# cd /etc/event.d
# cp tty1 hvc0
and edit hvc0 file correspondently
2. /etc/inittab on CentOS 5.3 DomU
should have entry
hvc0:23:respawn:...:hvc0
like for tty1,tty2 and etc

and so on,  console=hvc0 at /boot/vmlinuz-xen  module's line requires activating hvc0 via guest's specific location, view for instance :-

http://bderzhavets.wordpress.com/2009/05/21/install-ubuntu-jaunty-pv-hvm-domus-at-xen-3-4-dom0-kernel-2-6-30-rc6-tip/

or just tell exactly which one (linux) PV DomU is causing you trouble with serial console.

Boris.
P.S. F11, U 9.04 Server , OpenSuse 11.1(2)  PV DomUs may loaded via vfb as well,but U 9.10 Server (beta) requires serial console

--- On Tue,
10/20/09, Dulloor <[email protected]> wrote:

From: Dulloor <[email protected]>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <[email protected]>
Cc: "Xen-devel" <[email protected]>, "Marc - A. Dahlhaus" <[email protected]>
Date: Tuesday, October 20, 2009, 6:22 AM

Boris,

The "hotplug" error is gone with 9.04 server. The VMs boot fine (atleast per logs and xm list).

I am not able to access VM via console(hvc0) though. I have tried everything out there in your blogs, but the console just freezes at this same point :

"
[    0.010000] Initializing cgroup subsys memory
[    0.010000] Initializing cgroup subsys freezer
"
Any clues on how to go about debugging this ?

I use the default network-nat configuration for VMs(with addresses from 10.0.0.1/24). That doesn't work either. Is that expected too ?

I am sure the bridge configuration should work though (will try tomorrow).

-dulloor

Quoted 1 line · Boris Derzhavets

I will try 9.04-Server (not sure if it will help though)

1. I believe it will help.
2. Bruce's  Edge feed would be also very much wanted.

Boris.

--- On Sun, 10/18/09, Dulloor <[email protected]> wrote:

From: Dulloor <[email protected]>

Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty
To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "Xen-devel" <[email protected]>

Date: Sunday, October 18, 2009, 3:09 AM

I use xen-unstable (at the tip again). I have been following your blog. Thinking of it, the only difference is I use 9.04-Desktop-amd64 for my base installation. I
will try 9.04-Server (not sure if it will help though). Btw, these VM images were working fine with 8.04 installation.

-dulloor

On Sun, Oct 18, 2009 at 3:00 AM, Boris Derzhavets <[email protected]> wrote:

Please, tell how you setup Xen 3.4.1 or Xen  Unstable on 9.04 server ?

Boris.

P.S. Working sample:-

http://bderzhavets.wordpress.com/2009/06/25/setup-xen-3-4-1-dom0-on-top-of-ubuntu-9-04-server-via-marc-a-dahlhauss-udev-patch/

--- On Sun, 10/18/09, Dulloor <[email protected]> wrote:

From: Dulloor <[email protected]>
Subject: Re: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty

To: "Boris Derzhavets" <[email protected]>
Cc: "Marc - A. Dahlhaus" <[email protected]>, "Xen-devel" <[email protected]>

Date: Sunday, October 18, 2009, 1:37 AM

I am at the tip of xen/master branch of Jeremy's tree.

commit
2afad356210ac35cbbc81904e0ac8b514b7f6212
Merge: 9fa9003... 907d20f...
Author: Jeremy Fitzhardinge <[email protected]>

Date:   Thu Oct 15 11:34:28 2009 -0700

    Merge branch 'xen/vsyscall' into xen/master

    * xen/vsyscall:
      x86/vsyscall: fix 32-bit compile

-dulloor

Quoted 8 lines · Boris Derzhavets
Quoted 7 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to

re-enable ability start DomUs without hotplug scripts failure.

Boris.

It  was written on June 26, 2009 and was connected with some particular 9.04 instance.
Since then i did several Xen Host installs via official 3.4.1  tarball and via xen-unstable.hg  but, every time the most recent JF's pvops kernel had been built to

support Dom0. Problem with hot-plug scripts was gone far away. My question :-
What kernel is supporting your Dom0 ?

Boris.
P.S. Seems to me , that was kernel related problem in June.

--- On Sat, 10/17/09, Dulloor <[email protected]>
wrote:

From: Dulloor <[email protected]>

Subject: [Xen-devel] Re: "Hotplug Scripts not working ..." error on jaunty

To: "Marc - A. Dahlhaus" <[email protected]>
Cc: "Xen-devel" <[email protected]>

Date: Saturday, October 17, 2009, 6:08 PM

- udev version is 141 (udevadm info -V)

- There is only a /etc/udev directory. It had two files : xend.rules and xen-backend.rules. Removing them didn't help.

- I use pvops kernel. And, I use - make install-xen and make install-tools PYTHON_PREFIX_ARG=""

- Following is the output from "udevadm monitor" :
KERNEL[1255816932.742809] add      /devices/vbd-22-2049 (xen-backend)

KERNEL[1255816932.768878] add      /devices/vbd-22-2050 (xen-backend) KERNEL[1255816932.786000] add
  /devices/vbd-22-2051 (xen-backend)
KERNEL[1255816932.817227] add      /devices/vif-22-0 (xen-backend) UDEV  [1255816932.818643] add      /devices/vif-22-0 (xen-backend) KERNEL[1255816933.008654] add      /devices/console-22-0 (xen-backend)

UDEV  [1255816933.009916] add      /devices/console-22-0 (xen-backend) UDEV  [1255816933.657785] add      /devices/vbd-22-2049 (xen-backend) UDEV  [1255816934.707977] add      /devices/vbd-22-2050 (xen-backend)

UDEV  [1255816935.761811] add      /devices/vbd-22-2051 (xen-backend)

KERNEL[1255817033.248057] remove   /devices/console-22-0 (xen-backend) ------------- ****After the error****
UDEV  [1255817033.334001] remove   /devices/console-22-0 (xen-backend)

-dulloor

Quoted 25 lines · Marc - A. Dahlhaus

Hello,

Quoted 6 lines · Dulloor

I see that these patches made it to xen-unstable, but I still see the

"Hotplug Scripts not working ..." error on my jaunty dom0 machine.

The patches only fixed the build-time and installation-time detection of udev to work with version above of 124.

Have no jaunty based box around here to get some impressions of what goes wrong in this setup.

Could you check what udev version it has and if /etc/hotplug and/or /etc/udev contains xen related stuff?

Quoted 5 lines

As udev is in charge of hotplug events on jaunty a
"udevadm monitor" might get you some further details on what events are generated.

Quoted 1 line

I am trying to run a simple para-VM. xend starts fine (had

to build

Quoted 9 lines
Quoted 4 lines

tools with PYTHON_PREFIX_ARG set to ""). And, I tried xen-hotplug-cleanup too, but still getting the error.

Any ideas ?

Check what files get installed in /etc/udev and /etc/hotplug during

Quoted 23 lines

installation. If you find anything xen related in /etc/hotplug remove it and check if that fixes your problem.

It would be interesting to know how you install xen...

Marc

Quoted 13 lines

-dulloor

Quoted 10 lines · Marc - A. Dahlhaus

Hello Boris,

as the problem you are describing is unrelated to the patch (which changes
the detection of udev during buildtime only),
can you please change the subject line to

something more appropriate and

Quoted 43 lines
Quoted 40 lines
Quoted 40 lines

give some additional details about the problem?

Marc

Quoted 34 lines · Boris Derzhavets

By some reasons i have to run  on regular basis run ./xen-hotplug-cleanup
on two Xen 3.4.1 on top of Ubuntu 9.04 Servers patched systems to re-enable ability start DomUs without hotplug scripts failure.

Boris.

--- On *Fri, 6/26/09, Marc - A. Dahlhaus [ Administration | Westermann GmbH ] /<[email protected]>/* wrote:

  From: Marc - A. Dahlhaus [ Administration | Westermann GmbH ] <[email protected]>

  Subject: Re: [Xen-devel] [PATCH] Fix buildsystem to detect udev > version 124
  To: "Boris Derzhavets" <[email protected]>

  Cc: "Xen-devel" <[email protected]>, "Keir Fraser" <[email protected]>

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

  Date: Friday, June 26, 2009, 5:12 AM

  Could go into 3.4 and unstable IMO.

  On 3.3 there is no

tools/hotplug/Linux/Makefile so it must be altered

Quoted 65 lines
Quoted 62 lines
Quoted 62 lines
Quoted 62 lines

  there to use tools/examples/Makefile for the first chunk and should work
  fine there.

  Marc

  Am Donnerstag, den 25.06.2009, 20:03 -0700 schrieb Boris Derzhavets:
  > Where this patch is supposed to go either xen-unstable.hg or

  > xen-3.4-testing.hg (both) ?
  > Systems affected Ubuntu 9.04 (now) , F12 (pretty soon). >
  > Boris
  >

  > --- On Wed, 6/24/09, Marc - A. Dahlhaus [ Administration | Westermann
  > GmbH ] <[email protected] </mc/[email protected]>> wrote:

  >            >         From: Marc - A. Dahlhaus [ Administration | Westermann
  GmbH ]
  >         <[email protected] </mc/[email protected]>>

  >         Subject: [Xen-devel] [PATCH] Fix buildsystem to detect udev >
  >         version 124
  >         To: "Xen-devel" <[email protected]

  </mc/[email protected]>> >         Cc: "Daniel Schroeder" <[email protected]

  </mc/[email protected]>>, "Keir Fraser" >         <[email protected]

  </mc/[email protected]>> >         Date: Wednesday, June 24, 2009, 12:26 PM

  >            >         udev removed the udevinfo symlink from versions higher than
  >         123 and xens
  >         build-system could not detect if udev is in place and

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

  has the
  >         required
  >         version. Attached patch fixes this.
  >            >            >

Signed-off-by Marc-A. Dahlhaus
Quoted 42 lines
Quoted 39 lines
Quoted 39 lines
Quoted 39 lines

<[email protected]
  </mc/[email protected]>>

  >            >            >            >            > -----Inline Attachment Follows-----
  >            >         _______________________________________________

  >         Xen-devel mailing list
  >         [email protected]
  </mc/[email protected]>

  >         http://lists.xensource.com/xen-devel
  >            >
  > _______________________________________________

  > Xen-devel mailing list
  > [email protected]
  </mc/[email protected]>

  > http://lists.xensource.com/xen-devel

  _______________________________________________

  Xen-devel mailing list
  [email protected]
  </mc/[email protected]>

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

  http://lists.xensource.com/xen-devel

------------------------------------------------------------------------

Quoted 12 lines
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines

_______________________________________________
Xen-devel mailing list
[email protected]

http://lists.xensource.com/xen-devel

_______________________________________________

Quoted 10 lines
Quoted 8 lines
Quoted 8 lines

Xen-devel mailing list

[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]

http://lists.xensource.com/xen-devel

-----Inline Attachment Follows-----

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

-----Inline Attachment Follows-----

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel